<template>
<div id="app">
<!-- <router-link to="/shouye" tag="button" replace>首页</router-link>
<router-link to="/register" tag="button" replace>注册</router-link> -->
<!-- <button @click="homeClick">首页</button>
<button @click="registerClick">注册</button> -->

<router-view></router-view>

<!-- <sy></sy> -->
<!-- <zc></zc> -->
<!-- <pt></pt> -->
</div>
</template>

<script>
// import sy from "./components/shouye.vue"
// import zc from "./components/register.vue"
// import pt from "./components/platform.vue"

export default {
 name:'app',
components:{
    // sy,
    // zc
    // pt
},
// methods:{
//     homeClick(){
//         // this.$router.push('/shouye')
//         this.$router.replace('/shouye');

//         console.log('homeclick');
//     },
//     registerClick(){
//         // this.$router.push('/register')
//         this.$router.replace('/register');

//         console.log('registerclick');
//     }
// }
}
</script>

<style>
    /* .active{
        color:red;
    } */
</style>
